package com.ruoyi.project.tugboat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 拖轮数据对象 c_tugboat
 * 
 * @author ruoyi
 * @date 2023-12-14
 */
public class CTugboat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一ID */
    @Excel(name = "唯一ID")
    private Long tugboatId;

    /** 拖轮编码 */
    @Excel(name = "拖轮编码")
    private String tugboatCod;

    /** 拖轮名称 */
    @Excel(name = "拖轮名称")
    private String tugboatNam;

    /** 是否逻辑删除：[1]正常，[0]删除 */
    @Excel(name = "是否逻辑删除：[1]正常，[0]删除")
    private String isSafe;

    /** 是否启用：[1]启用，[0]未启用 */
    @Excel(name = "是否启用：[1]启用，[0]未启用")
    private String isEnable;

    public void setTugboatId(Long tugboatId) 
    {
        this.tugboatId = tugboatId;
    }

    public Long getTugboatId() 
    {
        return tugboatId;
    }
    public void setTugboatCod(String tugboatCod) 
    {
        this.tugboatCod = tugboatCod;
    }

    public String getTugboatCod() 
    {
        return tugboatCod;
    }
    public void setTugboatNam(String tugboatNam) 
    {
        this.tugboatNam = tugboatNam;
    }

    public String getTugboatNam() 
    {
        return tugboatNam;
    }
    public void setIsSafe(String isSafe) 
    {
        this.isSafe = isSafe;
    }

    public String getIsSafe() 
    {
        return isSafe;
    }
    public void setIsEnable(String isEnable) 
    {
        this.isEnable = isEnable;
    }

    public String getIsEnable() 
    {
        return isEnable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tugboatId", getTugboatId())
            .append("tugboatCod", getTugboatCod())
            .append("tugboatNam", getTugboatNam())
            .append("isSafe", getIsSafe())
            .append("isEnable", getIsEnable())
            .toString();
    }
}
